﻿using IdGen;
using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace Shared.Domain
{
    public class LongAggregateRoot : FullAuditedAggregateRoot<long>, IFullAuditedObject, IMultiTenant
    {
        protected LongAggregateRoot() : base(new IdGenerator(0).CreateId())
        {
        }


        public Guid? TenantId { get; set; }
    }
}
